package com.dt.dubai.mall.service;

import com.dt.dubai.mall.entity.MallAdminCategoryWebEntity;
import com.dt.dubai.mall.service.innate.MallAdminCategoryWebSerInnateAbsImp;
import com.dt.dubai.mall.service.ser.MallAdminCategoryWebService;
import org.springframework.stereotype.Service;

@Service
public class MallAdminCategoryWebServiceImp extends MallAdminCategoryWebSerInnateAbsImp implements MallAdminCategoryWebService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(MallAdminCategoryWebEntity inEntity) {

    }

    @Override
    protected void userModEntity(MallAdminCategoryWebEntity inEntity, MallAdminCategoryWebEntity upEntity) {
        upEntity.setBackCategoryId(inEntity.getBackCategoryId()); // 商品后台分类记录id
        upEntity.setFrontCategoryId(inEntity.getFrontCategoryId()); // 商品前台分类记录id
        upEntity.setCommodityType(inEntity.getCommodityType()); // 类型

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
